package com.link.base.ext.lead.controller;


import com.link.base.ext.lead.model.ExtLeads;
import com.link.base.ext.lead.service.ExtLeadsService;
import com.link.core.basic.service.KeyGenerateService;
import com.link.ext.basic.controller.BasicExtController;
import com.link.ext.basic.service.BasicExtService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/ext/extLeads")
public class ExtLeadsController extends BasicExtController<ExtLeads> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private ExtLeadsService extLeadsService;

    @Override
    public BasicExtService<ExtLeads> getBasicService() throws Exception {
        return extLeadsService;
    }
}
